<?php

return array(
    /**
     * 调用端授权
     */
    'clients'   => array(
        'app-demo-web' => '141421',
    ),
    /**
     * 黑白名单
     */
    'whitelist' => array('/^127\./', '/^10\./'),
    'blacklist' => array('/.*/'),
    /**
     * 方法配置
     */
    'methods'   => array(
        'note.getNoteList' => array(
            'callable' => array('Service_Note', 'getNoteList'),
            'args'     => array(
                'page' => array(
                    'type'     => 'int',
                    'required' => true,
                ),
                'pageSize' => array(
                    'type'     => 'int',
                    'required' => true,
                ),
            ),
            'desc'     => '获取留言列表',
        ),
    ),
);
